import React from "react";

import { Spin } from "antd";

const PageLoading: React.FC = () => (
  <Spin
    tip="Loading..."
    size="large"
    style={{
      position: "absolute",
      top: "50%",
      left: "50%",
      transform: "translate(-50%, -50%)",
    }}
  />
);

export default PageLoading;
